package com.ruoyi.mdkt.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.mdkt.entity.Task;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.mdkt.entity.vo.DiscussVO;
import com.ruoyi.mdkt.entity.vo.TaskVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gwl
 * @since 2022-10-22
 */
@Mapper
@Repository
public interface TaskMapper extends BaseMapper<Task> {
    Task getSignTaskByCourseId(String courseId);

    public List<TaskVo> pageTaskAll(String studentId);

}
